<!DOCTYPE html>
<html>
    <head>
  <script>
    /*  window.alert(19);
      var windowopen = window.open("https://baidu.com/");*/
       /* function windowclose(){
          var flag = window.confirm("确定关闭吗")
          if (flag == true) {
            window.close()
            alert(click); 
       
          } else {
              
          }
        }
        */
     function locationTest(){
        var loct =document.getElementById("loc");
        window.location.href=loct.value;
     }


  </script>
    </head>
    <body>
      <!--  <input type="button" value=" 关闭" onclick="windowclose()" > -->

     <input type="text" name="跳转" id="loc" ">
     <input type="button" name="跳转" id="loc2" value="搜索" onclick="locationTest()">
      <input type="button" value = "返回" onclick="javascript:history.go(1)">
          

    </body>
</html>